package com.opencee.common.security.oauth2;

import org.springframework.security.oauth2.provider.TokenRequest;

import java.util.Collection;
import java.util.Map;

/**
 * @author yadu
 */
public class UserTokenRequest extends TokenRequest {


    private String userName;

    public UserTokenRequest(String clientId,  Map<String, String> requestParameters, Collection<String> scope, String grantType, String userName) {
        super(requestParameters, clientId, scope, grantType);
        this.userName = userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserName() {
        return userName;
    }

}
